package com.yonyougov.devops.cruxcisupport.commitdevelopuser;

import com.yonyougov.devops.cruxcisupport.util.CruxDevOpsIdGenerator;
import com.yonyougov.devops.fwc.core.entity.BasicEntity;
import com.yonyougov.devops.fwc.core.id.IdGenerator;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigInteger;

/***
 * t_commit_develop_user
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommitDevelopUserEntity extends BasicEntity implements Serializable {

    /***
     * 主键
     */
    private BigInteger id;

    /***
     * 提测内容id
     */
    private BigInteger commitContextId;

    /***
     * 开发者id
     */
    private BigInteger developUserId;

    /***
     * 描述
     */
    private String remark;


    //<!--用户自定义代码开始-->
    public IdGenerator idGenerator() {
        return new CruxDevOpsIdGenerator();
    }
    //<!--用户自定义代码结束-->
}
